﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserInterface.Master" AutoEventWireup="true" CodeBehind="RegisterAccount.aspx.cs" Inherits="spktNhom4DoAnCuoiKy.GuestModules.RegisterAccount" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 <style type="text/css">
        .style1
        {
            width: 1024;
        }
        .style2
        {
        }
        .style3
        {
            width: 114px;
        }
        .style4
        {
            width: 161px;
        }
        .style5
        {
        }
        .style6
        {
            width: 241px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="vertical-align: middle;width:100%">
        <table class="style1" align="center">
            <tr>
                <td style="text-align: center;" colspan="4">
                    <h1>
                        Register</h1>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;
                    <asp:Label ID="Label1" runat="server" Text="Username :"></asp:Label>
                </td>
                <td class="style6">
                    &nbsp;<asp:TextBox ID="txt_uername" runat="server" Width="218px"></asp:TextBox>
                </td>
                <td class="style4">
                    &nbsp;
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        ControlToValidate="txt_uername" ErrorMessage="RequiredFieldValidator" 
                        ForeColor="Red" ValidationGroup="register1">(*)</asp:RequiredFieldValidator>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;
                    <asp:Label ID="Label2" runat="server" Text="Password :"></asp:Label>
                </td>
                <td class="style6">
                    &nbsp;<asp:TextBox ID="txt_password" runat="server" Width="218px" 
                        TextMode="Password"></asp:TextBox>
                </td>
                <td class="style4">
                    &nbsp;
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                        ControlToValidate="txt_password" ErrorMessage="RequiredFieldValidator" 
                        ForeColor="Red" ValidationGroup="register1">(*)</asp:RequiredFieldValidator>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;
                    <asp:Label ID="Label3" runat="server" Text="Re-Password :"></asp:Label>
                </td>
                <td class="style6">
                    &nbsp;<asp:TextBox ID="txt_repassword" runat="server" Width="218px" 
                        TextMode="Password"></asp:TextBox>
                </td>
                <td class="style4">
                    &nbsp;
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToCompare="txt_password" ControlToValidate="txt_repassword" 
                        ErrorMessage="CompareValidator" ForeColor="#FF3300" ValidationGroup="register1">(*) Password miss match</asp:CompareValidator>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style2" colspan="4">
                    <hr />
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;
                    <asp:Label ID="Label5" runat="server" Text="First Name :"></asp:Label>
                </td>
                <td class="style6">
                    &nbsp;<asp:TextBox ID="txt_firstname" runat="server" Width="218px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txt_firstname" ErrorMessage="RequiredFieldValidator" 
                        ForeColor="Red" ValidationGroup="register1">(*)</asp:RequiredFieldValidator>
                </td>
                <td class="style4">
                    &nbsp;
                    <asp:Label ID="Label11" runat="server" Text="Last Name :"></asp:Label>
                </td>
                <td>
                    &nbsp;
                    <asp:TextBox ID="txt_lastname" runat="server" Width="218px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;
                    <asp:Label ID="Label6" runat="server" Text="Cell Phone :"></asp:Label>
                </td>
                <td class="style6">
                    &nbsp;<asp:TextBox ID="txt_cellphone" runat="server" 
                        Width="218px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txt_cellphone" ErrorMessage="RequiredFieldValidator" 
                        ForeColor="Red" ValidationGroup="register1">(*)</asp:RequiredFieldValidator>
                </td>
                <td class="style4">
                    &nbsp;
                    <asp:Label ID="Label12" runat="server" Text="Home-Phone :"></asp:Label>
                </td>
                <td>
                    &nbsp;
                    <asp:TextBox ID="txt_homephone" runat="server" Width="218px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;
                    <asp:Label ID="Label7" runat="server" Text="Address :"></asp:Label>
                </td>
                <td class="style6">
                    &nbsp;<asp:TextBox ID="txt_address" runat="server" 
                        Width="218px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="txt_address" ErrorMessage="RequiredFieldValidator" 
                        ForeColor="Red" ValidationGroup="register1">(*)</asp:RequiredFieldValidator>
                </td>
                <td class="style4">
                    &nbsp;
                    <asp:Label ID="Label13" runat="server" Text="Zip / Postal Code :"></asp:Label>
                </td>
                <td>
                    &nbsp;
                    
                    <asp:TextBox ID="txt_zipcode" runat="server" Width="116px"></asp:TextBox>
                    <asp:RangeValidator ID="RangeValidator1" runat="server" 
                        ControlToValidate="txt_zipcode" ErrorMessage="RangeValidator" ForeColor="Red" 
                        MaximumValue="100000" MinimumValue="0" Type="Integer" 
                        ValidationGroup="register1">(*)</asp:RangeValidator>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;
                    <asp:Label ID="Label8" runat="server" Text="Email :"></asp:Label>
                </td>
                <td class="style6">
                    &nbsp;<asp:TextBox ID="txt_email" runat="server" Width="218px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                        ControlToValidate="txt_email" ErrorMessage="RegularExpressionValidator" 
                        ForeColor="Red" 
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                        ValidationGroup="register1">(*)</asp:RegularExpressionValidator>
                </td>
                <td class="style4">
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                   
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;
                    <asp:Label ID="Label9" runat="server" Text="Date of Birth :"></asp:Label>
                </td>
                <td class="style6">
                    <asp:Calendar ID="calenda_DOB" runat="server"></asp:Calendar>
                </td>
                <td class="style4">
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;
                    <asp:Label ID="Label10" runat="server" Text="Gender :"></asp:Label>
                </td>
                <td class="style6">
                    <asp:RadioButton Text="Men" ID="rb_men" runat="server" GroupName="1" 
                        Checked="True" />
                    <asp:RadioButton Text="Women" ID="rb_women" runat="server" GroupName="1" />
                </td>
                <td class="style4">
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;
                </td>
                <td class="style5" colspan="2">
                    <asp:CheckBox ID="cb_agree" runat="server" Text="I agree with this Term" />
                    <asp:HyperLink ID="hl_details" runat="server">( Details )</asp:HyperLink>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;
                </td>
                <td class="style6" align="center">
                    <asp:Button ID="btn_accept" runat="server" Text="Accept" Width="123px" 
                        ValidationGroup="register1" />
                </td>
                <td class="style4">
                    <asp:Button ID="btn_clear" runat="server" Text="Clear" Width="123px" />
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
